/*
 * Node.cpp
 *
 *  Created on: Jan 12, 2014
 *      Author: knuke
 */

#include "Node.hpp"
#include "Mesh.hpp"
#include <vector>

namespace gengine
{

  Node::Node()
  {
    // TODO: Check if transform matrix is identity when no parameter is supplied.
  }

  Node::~Node() throw ()
  {

  }

  void Node::addChild(Node* child)
  {
    children_.push_back(child);
  }

  void Node::addMesh(Mesh* mesh)
  {
    meshes_.push_back(mesh);
  }

} /* namespace gengine */

